/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package vn.webapp.service;

import java.util.List;
import vn.webapp.dto.DataPage;
import vn.webapp.model.Sessions;

public interface SessionsService {

    public DataPage<Sessions> list();
    
    public Sessions viewDetail(String id);
    
    public Sessions checkExistsYear(String year, int semester, int id);
    
    public int updateTheSession(String year, int semester, int id);
    
    public int removeSession(int id);
    
    public int saveASession(String year, int semester);
}
